\hypertarget{server_8h}{}\section{server/server.h File Reference}
\label{server_8h}\index{server/server.\+h@{server/server.\+h}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{server_8h_aa4a250922085a8685fc1056dbdbd89dd}{servertest\+\_\+message} (\hyperlink{structwindow}{window} $\ast$win)
\begin{DoxyCompactList}\small\item\em Network receive task. \end{DoxyCompactList}\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{server_8h_a6868f619a2b0ed58a4d155c5a458fccb}{servertest\+\_\+receive} (void $\ast$arg, char $\ast$pdata, unsigned short len)
\begin{DoxyCompactList}\small\item\em Network receive task. \end{DoxyCompactList}\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{server_8h_ac0a4b06c201a20489dee20d65ad6f4f0}{servertest\+\_\+setup} (int port)
\begin{DoxyCompactList}\small\item\em Setup Server Task. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{server.\+h@{server.\+h}!servertest\+\_\+message@{servertest\+\_\+message}}
\index{servertest\+\_\+message@{servertest\+\_\+message}!server.\+h@{server.\+h}}
\subsubsection[{\texorpdfstring{servertest\+\_\+message(window $\ast$win)}{servertest_message(window *win)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void servertest\+\_\+message (
\begin{DoxyParamCaption}
\item[{{\bf window} $\ast$}]{win}
\end{DoxyParamCaption}
)}\hypertarget{server_8h_aa4a250922085a8685fc1056dbdbd89dd}{}\label{server_8h_aa4a250922085a8685fc1056dbdbd89dd}


Network receive task. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em $\ast$win} & window pointer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
void 
\end{DoxyReturn}


Definition at line 56 of file server.\+c.



Referenced by user\+\_\+loop().

\index{server.\+h@{server.\+h}!servertest\+\_\+receive@{servertest\+\_\+receive}}
\index{servertest\+\_\+receive@{servertest\+\_\+receive}!server.\+h@{server.\+h}}
\subsubsection[{\texorpdfstring{servertest\+\_\+receive(void $\ast$arg, char $\ast$pdata, unsigned short len)}{servertest_receive(void *arg, char *pdata, unsigned short len)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void servertest\+\_\+receive (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{arg, }
\item[{char $\ast$}]{pdata, }
\item[{unsigned short}]{len}
\end{DoxyParamCaption}
)}\hypertarget{server_8h_a6868f619a2b0ed58a4d155c5a458fccb}{}\label{server_8h_a6868f619a2b0ed58a4d155c5a458fccb}


Network receive task. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em $\ast$arg} & network callback arg \\
\hline
\mbox{\tt in}  & {\em $\ast$pdata} & data buffer \\
\hline
\mbox{\tt in}  & {\em len} & buffer length \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
void 
\end{DoxyReturn}


Definition at line 81 of file server.\+c.



Referenced by servertest\+\_\+setup().

\index{server.\+h@{server.\+h}!servertest\+\_\+setup@{servertest\+\_\+setup}}
\index{servertest\+\_\+setup@{servertest\+\_\+setup}!server.\+h@{server.\+h}}
\subsubsection[{\texorpdfstring{servertest\+\_\+setup(int port)}{servertest_setup(int port)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void servertest\+\_\+setup (
\begin{DoxyParamCaption}
\item[{int}]{port}
\end{DoxyParamCaption}
)}\hypertarget{server_8h_ac0a4b06c201a20489dee20d65ad6f4f0}{}\label{server_8h_ac0a4b06c201a20489dee20d65ad6f4f0}


Setup Server Task. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em port} & T\+CP port for service Credits\+: ideas borrowed from David Ogilvy(\+Metal\+Phreak) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
void 
\end{DoxyReturn}


Definition at line 100 of file server.\+c.



Referenced by setup().

